﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SaleOnlineSystem
{
    public partial class Success : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Session["Username"] != null)
            {
                lblUser.Text = Session["Username"].ToString();
                if (Session["DuongDan"] != null)
                {
                    Response.AddHeader("refresh", "5;url=http://www.a-mark.vn:80" + Session["DuongDan"]);
                }
                else
                    Response.Redirect("~/trangchu.htm");
            }
            else
                Response.Redirect("~/trangchu.htm");
        }

        protected void lbtBack_Click(object sender, EventArgs e)
        {
            Response.Redirect("/trangchu.htm");
        }
    }
}